Repository navigation
build(deps): vortex-jni 0.93.0, with Rust's uuid file statistics - #730
Merged
Merged
Conversation
dfa1
force-pushed
the
build/vortex-jni-0.93
branch
2 times, most recently
from
November 12, 2026 20:41
ef91d18 to
b8e1382
Compare
From 0.92 Rust imports arrow.uuid as vortex.uuid and records its min and max in the file statistics: a FixedSizeList(U8, 16) scalar, exact, in unsigned byte order (vortex-data/vortex#11299 let vortex-jni hand them back to Java). FileStatsAccumulator now does the same, so a uuid column's footer matches vortex-jni's byte for byte, and WriteSummary reports the bounds as UUIDs. UUID.compareTo is not that order: it compares signed longs. 0.93 also unblocks two uuid cross-checks that were skipped: - DictAllTypesInteropIntegrationTest's uuid case: vortex-jni 0.90 could not close a writer with a uuid column; - JavaWritesRustReadsIntegrationTest#javaWriter_rustReader_nullable_uuid, disabled since vortex-jni 0.74, which could not export vortex.uuid to Arrow. Rust now exports it as Arrow's arrow.uuid (vortex-data/vortex#11224), so the test reads UUIDs instead of 16-byte binaries. Rust 0.92's canonical-decimal change (vortex-data/vortex#10995) needs nothing here: vortex-java writes vortex.decimal at its precision's canonical width and narrows only through vortex.decimal_byte_parts, as Rust does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fRbYvRdQi45rxQgF3QMMP
dfa1
force-pushed
the
build/vortex-jni-0.93
branch
from
November 12, 2026 21:12
b8e1382 to
fcbd900
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #720 (dependabot's POM-only bump). That bump passed CI only because no cross-check covered UUID statistics.
Parity fix:
vortex.uuidfile statistics. From 0.92, Rust importsarrow.uuidasvortex.uuidand records its min and max in the file statistics: aFixedSizeList(U8, 16)scalar, exact, in unsigned byte order. (vortex-data/vortex#11299 is what lets vortex-jni hand these to Java.)FileStatsAccumulatornow writes the same, so a UUID column's footer matches vortex-jni's byte for byte.WriteSummaryreports the bounds asUUIDs. Note thatUUID.compareTouses a different order, comparing signed longs.New cross-check
FileStatisticsInteropIntegrationTest#uuidColumn_writesTheStatisticsJniWritescovers this. Before the fix, Rust wrotemin=4a48…/1 max=4a4b…/1and Java wrotemin=-/0 max=-/0. Unit tests cover the unsigned order, the 16-u8list scalar, nulls across batches and an all-null column.Unblocked by 0.93:
DictAllTypesInteropIntegrationTest'suuidcase. It was skipped because vortex-jni 0.90 couldn't close a writer with a UUID column.JavaWritesRustReadsIntegrationTest#javaWriter_rustReader_nullable_uuid,@Disabledsince vortex-jni 0.74. Rust now exportsvortex.uuidas Arrow'sarrow.uuid(#11224), so the test assertsUUIDs.Checked, nothing to change:
vortex.decimalat its precision's canonical width, and narrows only throughvortex.decimal_byte_parts, the same way Rust does.Docs: the 0.91.0 pins move to 0.93.0 (compatibility, reference, explanation, including the jar size), and the
WriteSummarydocs now describe UUID bounds.🤖 Generated with Claude Code
https://claude.ai/code/session_011fRbYvRdQi45rxQgF3QMMP